package remind;




import java.util.ArrayList;
import java.util.Date;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author A.Panasuk aka Skiff
 */
public class Archive {
    private static Date curentTime;
        
    public static void checkNote(){
        curentTime = new Date();
        for(int i=0;i<remind.noteList.size();i++){
        if(curentTime.compareTo(remind.noteList.get(i).getDate( ))<0){// remind.noteList.get(i).getDate()
            remind.noteList.get(i).setActuality(true);}
        else{remind.noteList.get(i).setActuality(false);}
        }
    }
}
